package com.esiag.pdsteam.referencement.bean;

import com.esiag.pdsteam.referencement.annotation.DataField;
import com.esiag.pdsteam.referencement.annotation.DataTable;
import com.esiag.pdsteam.referencement.annotation.TableIdentificateur;



@DataTable
public class TypeSource {
	@TableIdentificateur
	@DataField(fieldName="idTypeSource")
	private int id;
	
	@DataField(fieldName="libelleTypeSource")
	private String libelle;

	@Override
	public String toString() {
		return "TypeSource [id=" + id + ", libelle=" + libelle + "]";
	}

	public TypeSource(int id, String libelle) {
		super();
		this.id = id;
		this.libelle = libelle;
	}

	public TypeSource() {
		super();
		// TODO Auto-generated constructor stub
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getLibelle() {
		return libelle;
	}

	public void setLibelle(String libelle) {
		this.libelle = libelle;
	}
}
